var Horizon = function() {
	var horizon = {},
		initFunctions = [];
	horizon.addInitFunction = function(fn) {
		initFunctions.push(fn);
	};
	horizon.init = function() {
		for (var i = 0; i < initFunctions.length; i += 1) {
			initFunctions[i]();
		}
		initFunctions = [];
	};
	return horizon;
};
var horizon = new Horizon();
horizon.conf = {
	debug: null,
	static_url: null,
	ajax: {
		queue_limit: null
	},
	spinner_options: {
		inline: {
			lines: 10,
			length: 5,
			width: 2,
			radius: 3,
			color: '#000',
			speed: 0.8,
			trail: 50,
			zIndex: 100
		},
		modal: {
			lines: 10,
			length: 15,
			width: 4,
			radius: 10,
			color: '#000',
			speed: 0.8,
			trail: 50
		},
		line_chart: {
			lines: 10,
			length: 15,
			width: 4,
			radius: 11,
			color: '#000',
			speed: 0.8,
			trail: 50
		}
	}
};
horizon.conf.debug = false;
horizon.conf.static_url = "/static/";
horizon.conf.ajax = {
	queue_limit: 10
};
horizon.conf.auto_fade_alerts = {
	delay: 3000,
	fade_duration: 1500,
	types: ['alert-success', 'alert-info']
};